


/* 三角形 */
.triangle-up:after { content: ' ';width: 0;height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid #fff;
	position: absolute;top: -8px;right: 7px;}
.triangle-down:after {
	content: ' ';width: 0;height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 10px solid #fff;
	position: absolute;top: -8px;right: 7px;}

.triangle-b::after {
	content: ' ';
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
  border-top: 7px solid #ff4f05;
}


// 组件公共样式
.price, .discount {font-size: 36px; color: #ff4f05; line-height: 1; font-weight: 580;}
.m-price{font-size: 24px;text-decoration: line-through;color: #909399;margin-left: 20px;}
.price::before{ content: '￥'; font-size: 24px; } .m-price::before{ content: '￥'; font-size: 24px; }
.price::after{ content: attr(data-decimal); font-size: 24px; }

.s-price {font-size: 30px; color: #ff4f05; line-height: 1; font-weight: 580;}
.s-price::before{ content: '￥'; font-size: 22px; }

.o-price {font-size: 24px; color: #bbb; line-height: 1;margin-left: 10px;}
.o-price::before{ content: '￥'; font-size: 22px; }

.y-price {font-size: 36px; color: #ff4f05; line-height: 1; font-weight: 580;}
.y-price::after{ content: ' 元'; font-size: 22px; }

.price-add::before { content: '＋'; font-weight: 600; }
.price-sub::before { content: '－'; font-weight: 600; }

.price-jf::after { content: '积分'; font-size: 24px; }
.discount::after { content: '折'; font-size: 24px;}

.badge{ position: absolute; top: -10px; right: -10px;background: #F53F3F; color: #fff;font-size: 12px;	line-height: 1;display: inline-block;padding: 3px 6px;border-radius: 50px;font-weight: normal !important;}
.badge-small{transform: scale(0.8);transform-origin: center center;}
.badge-large{transform: scale(1.2);transform-origin: center center;}
.dn{ display: none !important; }

/* flex 布局 */
.dflex{display: flex; align-items: center;}
.dflex-c{display: flex; justify-content: center; align-items: center;}
.dflex-s{display: flex; align-items: flex-start;}
.dflex-e{display: flex; justify-content: flex-end; align-items: baseline;}
.dflex-es{display: flex; justify-content: flex-end; align-items: flex-start;}
.dflex-a{display: flex; justify-content: space-around; align-items: center;}
.dflex-b{display: flex; justify-content: space-between; align-items: center;}
.dflex-j{display: flex; justify-content: space-between; flex-flow: column;}
.dflex-flow{flex-flow: column;} .dflex-row{flex-flow: row;} .dflex-col{flex-flow: column;}
.dflex-wrap-w{-ms-flex-wrap: wrap; -webkit-flex-wrap: wrap; flex-wrap: wrap;}
.row-start {align-items: flex-start;}
.row-end {align-items: flex-end;}
.row-line {align-items: baseline;}
.flex1{flex: 1;}
.dgrid {display: grid;}
.dgrid-col-3 { grid-gap: 20px 20px; grid-template-columns: repeat(3, 1fr); }

/* 间隔槽 */
.gap{display: block;width: 100%;height: 20px;background: #f5f5f5;}
/* 垂直线 */
.vertical-line{ border-left:1px solid #ededed; height: 30%; position:absolute; top: 50%; transform: translate(0, -50%); right: 0; }
.dotted-line, .doblue-line {width: 100%; position: relative;text-align: center; font-size: 30px; font-weight: 550; color: #000;}
.dotted-line::before, .doblue-line::before, .dotted-line::after, .doblue-line::after {content: ' '; position: absolute; width: 34%; border-top: 1px dashed #d7d7d7;top: 20px;}
.dotted-line::before, .doblue-line::before {left: 12px;}
.dotted-line::after, .doblue-line::after {right: 12px;}
.doblue-line {font-weight: normal; line-height: 20px; }
.doblue-line::before, .doblue-line::after {border-top: 1px solid #d7d7d7;}

/* 下边框线 */
.border-bottom{border-bottom: 1px solid #f5f5f5;}
.border-bottom-dotted {border-bottom: 1px dashed #f5f5f5;}

/* 文字超出省略 */
.clamp {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;display: block;}
.clamp-2{display: -webkit-box;overflow: hidden;text-overflow: ellipsis;word-wrap: break-word;white-space: normal !important;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}

.ws-np {white-space: nowrap;}
.line-height-0 {line-height: 0;}
.line-height-1 {line-height: 1;}
.line-height-item {line-height: 60px;}

/* 文字对齐 */
.tac{text-align: center;}.tar{text-align: right;}.tal{text-align: left;}

/* 相对定位|绝对定位|固定定位 */
.fixed{position: fixed;z-index: 1;}
.pos-r{position: relative;}.pos-f{position: fixed;z-index: 1;}.pos-a{position: absolute;}
.pos-t-c { top: 50%; transform: translateY(-50%); }
.pos-l-c { left: 50%; transform: translateX(-50%); }
.pos-tl-c { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.pos-top {top: 0} .pos-right {right: 0} .pos-bottom {bottom: 0} .pos-left {left: 0} .pos-full{top:0; right: 0; bottom: 0; left: 0;}
.pos-t-full {top:0;left:0;right:0;} .pos-b-full {bottom: 0;left: 0;right: 0;}
/* 圆角 */
.border-radius-big{border-radius: 100px;}
.border-radius-lg{border-radius: 50px;}
.border-radius{border-radius: 20px;}
.border-radius-xs{border-radius: 6px;}
.border-radius-sm{border-radius: 10px;}
.border-radius-c{border-radius: 50%;}
.border-radius-top {border-top-left-radius: 20px; border-top-right-radius: 20px;}
.border-radius-bottom {border-bottom-left-radius: 20px; border-bottom-right-radius: 20px;}
.border-radius-top30 {border-top-left-radius: 30px; border-top-right-radius: 30px;}
.border-radius-top60 {border-top-left-radius: 60px; border-top-right-radius: 60px;}
.border-radius-left{border-top-left-radius: 20px; border-bottom-left-radius: 20px;}
.border-radius-left50{border-top-left-radius: 50px; border-bottom-left-radius: 50px;}
.border-radius-right{border-top-right-radius: 20px; border-bottom-right-radius: 20px;}
.border-radius-right50{border-top-right-radius: 50px; border-bottom-right-radius: 50px;}
.border-radius-br-xs {border-bottom-right-radius: 10px;}
view[class*='border-radius']{ overflow: hidden;}


/* 背景色 */
.bg-main { background: #fff; } .bg-drak { background: #f5f5f5; } .bg-base{ background-color: #ff4f05; color: #fff; }
.bg-warn {background: #FFECDF; color: #FF4F05;} .bg-disabled {background: #f4f4f4 !important; color: #bbb !important;}
.bg-fade { background: #F5F5F5; color: #999; }
.bg-gray {background: #F5F5F5;} .bg-border {border: 1px solid #ff4f05; color: #ff4f05;}  .bg-line {border: 1px solid #bbb;}

.ft-main { color: #333; } .ft-base { color: #ff4f05; } .ft-red { color: #ff4f05; } .ft-yellow { color: #ff6a00; }
.ft-dark { color: #bbb; } .ft-dark-3 { color: #737373; } .ft999 { color: #999; }
.ft-black{ color: #333; } .ft-white { color: #fff; }

.fs-xxs { font-size: 22px; } .fs-xs { font-size: 24px; } .fs-sm { font-size: 28px; } .fs { font-size: 32px; } .fs-lg { font-size: 36px; } .fs-xl { font-size: 40px; } .fs-xxl { font-size: 50px; }  .fs-xxxl { font-size: 60px; } .fs-big { font-size: 52px; }
.fs-20 {font-size: 20px;}.fs-30 {font-size: 30px;} .fs-34 { font-size: 34px; } .fs-50{font-size: 50px;} .fs-70{font-size: 70px;} .fs-80{font-size: 80px;} .fs-90{font-size: 90px;}
.fwb {font-weight: bold;}.active{ color: #ff4f05 !important; } .disabled{ color: #bbb !important; }
.border-line{border-bottom: 1px solid #dedede;}

.image-60 {width: 60px; height: 60px;} .image-80 {width: 80px; height: 80px;}
.image-sm {width: 100px; height: 100px;} .overflow-hidden{overflow: hidden;} .overflow-auto{overflow: auto;}

/* 外边距 */
.margin-0{margin: 0;}.margin-xs{margin: 10px;}.margin-sm{margin: 20px;}.margin{margin: 30px;}.margin-lg{margin: 40px;}.margin-xl{margin: 50px;}.margin-big{margin: 100px;}
.margin-top-xs{margin-top: 10px;}.margin-top-sm{margin-top: 20px;}.margin-top{margin-top: 30px;}.margin-top-lg{margin-top: 40px;}.margin-top-xl{margin-top: 50px;}.margin-top-xxl{margin-top: 60px;}.margin-top-big{margin-top: 100px;}
.margin-right-xs{margin-right: 10px;}.margin-right-sm{margin-right: 20px;}.margin-right{margin-right: 30px;}.margin-right-lg{margin-right: 40px;}.margin-right-xl{margin-right: 50px;}
.margin-bottom-xs{margin-bottom: 10px;}.margin-bottom-sm{margin-bottom: 20px;}.margin-bottom{margin-bottom: 30px;}.margin-bottom-lg{margin-bottom: 40px;}.margin-bottom-xl{margin-bottom: 50px;}.margin-bottom-xxl{margin-bottom: 60px;} .margin-bottom-big {margin-bottom: 100px;}
.margin-left-xs{margin-left: 10px;}.margin-left-sm{margin-left: 20px;}.margin-left{margin-left: 30px;}.margin-left-lg{margin-left: 40px;}.margin-left-xl{margin-left: 50px;}.margin-left-auto{margin-left: auto;}

.margin-lr-xs{margin-left: 10px;margin-right: 10px;}.margin-lr-sm{margin-left: 20px;margin-right: 20px;}.margin-lr{margin-left: 30px;margin-right: 30px;}.margin-lr-lg{margin-left: 40px;margin-right: 40px;}.margin-lr-xl{margin-left: 50px;margin-right: 50px;}
.margin-tb-xs{margin-top: 10px;margin-bottom: 10px;}.margin-tb-sm{margin-top: 20px;margin-bottom: 20px;}.margin-tb{margin-top: 30px;margin-bottom: 30px;}.margin-tb-lg{margin-top: 40px;margin-bottom: 40px;}.margin-tb-xl{margin-top: 50px;margin-bottom: 50px;}

.margin-t0{margin-top: 0 !important;}
.padding-r0{padding-right: 0 !important;}

/* 内边距 */
.padding-0{padding: 0;}.padding-xs{padding: 10px;}.padding-sm{padding: 24px;}.padding{padding: 30px;}.padding-lg{padding: 40px;}.padding-xl{padding: 50px;}.padding-16{padding: 16px;}
.padding-top-xs{padding-top: 10px;}.padding-top-sm{padding-top: 20px;}.padding-top{padding-top: 30px;}.padding-top-lg{padding-top: 40px;}.padding-top-xl{padding-top: 50px;}.padding-top-big{padding-top: 100px;}
.padding-right-xs{padding-right: 10px;}.padding-right-sm{padding-right: 20px;}.padding-right{padding-right: 30px;}.padding-right-lg{padding-right: 40px;}.padding-right-xl{padding-right: 50px;}.padding-right-0{padding-right: 0;}
.padding-bottom-xs{padding-bottom: 10px;}.padding-bottom-sm{padding-bottom: 20px;}.padding-bottom{padding-bottom: 30px;}.padding-bottom-lg{padding-bottom: 40px;}.padding-bottom-xl{padding-bottom: 50px;}.padding-bottom-big{padding-bottom: 100px;}
.padding-left-xs{padding-left: 10px;}.padding-left-sm{padding-left: 20px;}.padding-left{padding-left: 30px;}.padding-left-lg{padding-left: 40px;}.padding-left-xl{padding-left: 50px;}

.padding-lr-xs{padding-left: 10px;padding-right: 10px;}.padding-lr-sm{padding-left: 20px;padding-right: 20px;}.padding-lr{padding-left: 30px;padding-right: 30px;}.padding-lr-lg{padding-left: 40px;padding-right: 40px;}.padding-lr-xl{padding-left: 50px;padding-right: 50px;}
.padding-lr-16{padding-left: 16px;padding-right: 16px;}
.padding-tb-xxs{padding-top: 6px;padding-bottom: 6px;}.padding-tb-xs{padding-top: 10px;padding-bottom: 10px;}.padding-tb-sm{padding-top: 20px;padding-bottom: 20px;}.padding-tb{padding-top: 30px;padding-bottom: 30px;}.padding-tb-lg{padding-top: 40px;padding-bottom: 40px;}.padding-tb-xl{padding-top: 50px;padding-bottom: 50px;}
.padding-tb-16{padding-top: 16px;padding-bottom: 16px;}

.safe-area-inset-bottom {padding-bottom: 0; padding-bottom: constant(safe-area-inset-bottom);padding-bottom: env(safe-area-inset-bottom);}
.safe-area-inset-bottom-plus {margin-bottom: 0; margin-bottom: constant(safe-area-inset-bottom);margin-bottom: env(safe-area-inset-bottom);}

.animated{ -webkit-animation-duration: .55s; animation-duration: .55s; -webkit-animation-fill-mode: both;  animation-fill-mode: both; }
.animated-all { transition: all .3s; }

.animated.rotate-45 { transform: rotate(45deg); }
.animated.rotate { animation: rotate .75s linear infinite; transform-origin: center center; }
.animated.scale { transition: all 1s; animation: scale 1s ease-out infinite; transform-origin: center center; }
@keyframes rotate { 0% { transform: rotateZ(0deg); } 100% { transform: rotateZ(360deg); } }
@keyframes scale { 0% { transform: scale(0.45); } 50% { transform: scale(1.45); } 100% { transform: scale(0.45); } }

.animated.fade-in { animation: fadein .75s linear;}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.animated.fade-out { animation-name: fadeout; }
@keyframes fadeout { from { opacity: 1; } to { opacity: 0; } }



.wscnph{
	max-width: 100% ;
}
.v_cursor {
	cursor: pointer;
}
